const mongoose = require("mongoose");
const msgSchema = new mongoose.Schema({
    fid:String,
    tid:String,
    time:Number,
    content:String,
    isRead: {
        type:Boolean,
        default:false
    }
});
const msg = mongoose.model("msg", msgSchema);
module.exports = {
    msg
};
